package com.cetc.domain;

import java.io.Serializable;

/**
 * @Classname Creature
 * @Description 生物基类
 * @Date 2022/12/12 20:04
 * @Created by louzhuangxi
 */
public class Creature<T> implements Serializable {
    private char gender;
    public double weight;

    private void breathe() {
        System.out.println("生物呼吸");
    }

    public void eat() {
        System.out.println("生物吃东西");
    }
}
